﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Code.DAL
{
    public class Column
    {
        public bool IsIdentity
        {
            get;
            set;
        }

        public bool IsNull
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public string Type
        {
            get;
            set;
        }

        public bool IsKey
        {
            get;
            set;
        }

        public int Length
        {
            get;
            set;
        }

        public string Desc
        {
            get;
            set;
        }

        /// <summary>
        /// 主键表表名
        /// </summary>
        public string ReferenceTable
        {
            get;
            set;
        }
    
    }
}
